<template>
    <el-config-provider :size="size">
        <router-view></router-view>
    </el-config-provider>
</template>

<script setup>
import { computed }    from "vue"
import { useAppStore } from "@/store/app.js"

let appStore = useAppStore()
const size   = computed(() => appStore.elementSize)

</script>

<style>
#app {
    font-family: Avenir, Helvetica, Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-align: center;
    color: #2c3e50;
    width: 100%;
    height: 100vh;
}
</style>
